////////////////////////////////////////////////////////////////////////////////
// Copyright 2005 CORE Solutions Limited
// All rights reserved.
// PROPRIETARY AND CONFIDENTIAL INFORMATION.
// Use is subject to license terms.
//
// FUNCTION ID      :   SO
// AUTHOR           :   Victor.zheng 
// DATE CREATE      :   2005/10/25
// DESCRIPTION      :   a VO file for the function, SO
//                  :   
//                  :   
//                  :   
//
// MODIFICATION HISTORY:
// DATE         AUTHOR          VERSION NO.         COMMENT
// -----------  --------------  ------------------  -------------------
// 2005/10/25   Victor.zheng    1.0                 source is generated.
//
//
//
////////////////////////////////////////////////////////////////////////////////

package com.erp.app.login.soEnquiry.vo;

import java.sql.Timestamp;

import com.erp.app.login.soEnquiry.pk.SoEnquiryPk;
import com.erp.framework.model.pk.SimplePageEditStylePk;
import com.erp.framework.model.vo.SimplePageEditStyleVo;
import com.erp.framework.types.CustomBigDecimal;
import com.erp.framework.types.CustomBigInteger;
import com.erp.framework.types.CustomSqlDate;

/**
* <p>A <strong>VO</strong>(Value Object) is a JavaBean which provides property
* getter and setter methods for all of the bean properties, and implements
* <code>Serializable</code>, as required by the JavaBean specification
* The main purpose for this class is to store the data retrieved from the database,
* and the converted data from the web browsers.
*
* @author          Victor.zheng 
* @version 1.0     2005/10/25
* @since           FrameWork 1.0
*
*/
public class SoEnquiryVo extends SimplePageEditStyleVo {

	//DB Table Name: T_SO_HDR

	//PK Attributes
	private String companyCode;                      //DB Column Name: COMPANY_CODE
	private String soNo;                             //DB Column Name: SO_NO

	//Other Attributes
	private CustomSqlDate soDate;                    //DB Column Name: SO_DATE
	private String custCode;                         //DB Column Name: CUST_CODE
	private String telNoCountry;                     //DB Column Name: TEL_NO_COUNTRY
	private String telNoCity;                        //DB Column Name: TEL_NO_CITY
	private String telNo;                            //DB Column Name: TEL_NO
	private String projectCode;                      //DB Column Name: PROJECT_CODE
	private String faxNo;                            //DB Column Name: FAX_NO
	private String custPoNo;                         //DB Column Name: CUST_PO_NO
	private CustomSqlDate custDocDate;               //DB Column Name: CUST_DOC_DATE
	private String contact;                          //DB Column Name: CONTACT
	private String email;                            //DB Column Name: EMAIL
	private String countryOrigin;                    //DB Column Name: COUNTRY_ORIGIN
	private String address1;                         //DB Column Name: ADDRESS_1
	private String address2;                         //DB Column Name: ADDRESS_2
	private String address3;                         //DB Column Name: ADDRESS_3
	private String address4;                         //DB Column Name: ADDRESS_4
	private String portLoading;                      //DB Column Name: PORT_LOADING
	private String destination;                      //DB Column Name: DESTINATION
	private String tradeTerms;                       //DB Column Name: TRADE_TERMS
	private String paymentTerms;                     //DB Column Name: PAYMENT_TERMS
	private String shipVia;                          //DB Column Name: SHIP_VIA
	private String handledBy;                        //DB Column Name: HANDLED_BY
	private String currency;                         //DB Column Name: CURRENCY
	private CustomBigDecimal amount;                 //DB Column Name: AMOUNT
	private String remark;                           //DB Column Name: REMARK
	private CustomBigInteger revisionNo;             //DB Column Name: REVISION_NO
	private String createUser;                       //DB Column Name: CREATE_USER
	private Timestamp createDate;                    //DB Column Name: CREATE_DATE
	private String updateUser;                       //DB Column Name: UPDATE_USER
	private Timestamp updateDate;                    //DB Column Name: UPDATE_DATE
	private String status;                           //DB Column Name: STATUS
	private CustomBigDecimal exchangeRate;           //DB Column Name: EXCHANGE_RATE
	private String deptCode;                         //DB Column Name: DEPT_CODE
	private CustomSqlDate exFactoryDate;             //DB Column Name: EX_FACTORY_DATE
	private CustomSqlDate shipmentDate;              //DB Column Name: SHIPMENT_DATE
	private String division;                         //DB Column Name: DIVISION
	private String forwarder;                        //DB Column Name: FORWARDER
	private String shipRoute;                        //DB Column Name: SHIP_ROUTE
	private String divisionDesc;                     //DB Column Name: DIVISION_DESC
	private String preparedBy;                       //DB Column Name: PREPARED_BY
	private String genFromPi;                        //DB Column Name: GEN_FROM_PI
	private String forwarderRef;                     //DB Column Name: FORWARDER_REF
	private String isCustInv;                        //DB Column Name: IS_CUST_INV
	private String airFreight;                       //DB Column Name: AIR_FREIGHT

	/**
	* Stores the detail child names by the fully-qualified java class path.
	*
	* @author     Victor.zheng 
	* @since      FrameWork 1.0
	*/
	protected  void setChildTypesName() {
		//this.childTypesName=new String[2];
		//this.childTypesName[0]="com.erp.app.form.beans.FormApprovalListVo";
		//this.childTypesName[1]="com.erp.app.form.beans.FormAttachmentVo";
	}

	/**
	* Stores the table schema name by the fully-qualified java class path.
	*
	* @author     Victor.zheng 
	* @since      FrameWork 1.0
	*/
	protected void setTableSchemaName() {
		this.tableSchemaName="com.erp.app.login.soEnquiry.schema.SoEnquirySchema";
	}

	/**
	* Stores the detail child table schema names by the fully-qualified java class path.
	*
	* @author     Victor.zheng 
	* @since      FrameWork 1.0
	*/
	protected  void setChildTableSchemaNames() {
		//this.childTableSchemaNames=new String[2];
		//this.childTableSchemaNames[0]="com.erp.app.form.beans.FormApprovalListSchema";
		//this.childTableSchemaNames[1]="com.erp.app.form.beans.FormAttachmentSchema";
	}

	/**
	* Stores the DAO name by the fully-qualified java class path.
	*
	* @author     Victor.zheng 
	* @since      FrameWork 1.0
	*/
	protected void setDaoName() {
		this.daoName="com.erp.app.login.soEnquiry.dao.SoEnquiryDao";
	}

	/**
	* Stores the biz logic name by the fully-qualified java class path.
	*
	* @author     Victor.zheng 
	* @since      FrameWork 1.0
	*/
	protected void setBizLogicName() {
		this.bizLogicName = "com.erp.app.login.soEnquiry.bizLogic.SoEnquiryBizLogic";
	}

	/**
	* Returns the primary key for this class.
	* @return      primary key of this class
	*
	* @author     Victor.zheng 
	* @since      FrameWork 1.0
	*/
	public SimplePageEditStylePk getPageEditStylePk() {
		return new SoEnquiryPk(this.companyCode, this.soNo);
	}

	/**
	* Converts to a string representing the data in this object.
	* A new <code>String</code> object is allocated and initialized to 
	* contain the character sequence currently represented by this 
	* object. This <code>String</code> is then returned. Subsequent 
	* changes to this object do not affect the contents of the 
	* <code>String</code>. 
	*
	* @return     a string representation of the object.
	* @see        java.lang.Object#toString()
	* @author     Victor.zheng 
	* @since      FrameWork 1.0
	*/
	public String toString() {
		String pkStr = "PK: {companyCode = " + this.companyCode
			+ "\n, soNo = " + this.soNo + "}\n";

		String colStr = "COL: {soDate = " + this.soDate
			+ "\n, custCode = " + this.custCode
			+ "\n, telNoCountry = " + this.telNoCountry
			+ "\n, telNoCity = " + this.telNoCity
			+ "\n, telNo = " + this.telNo
			+ "\n, projectCode = " + this.projectCode
			+ "\n, faxNo = " + this.faxNo
			+ "\n, custPoNo = " + this.custPoNo
			+ "\n, custDocDate = " + this.custDocDate
			+ "\n, contact = " + this.contact
			+ "\n, email = " + this.email
			+ "\n, countryOrigin = " + this.countryOrigin
			+ "\n, address1 = " + this.address1
			+ "\n, address2 = " + this.address2
			+ "\n, address3 = " + this.address3
			+ "\n, address4 = " + this.address4
			+ "\n, portLoading = " + this.portLoading
			+ "\n, destination = " + this.destination
			+ "\n, tradeTerms = " + this.tradeTerms
			+ "\n, paymentTerms = " + this.paymentTerms
			+ "\n, shipVia = " + this.shipVia
			+ "\n, handledBy = " + this.handledBy
			+ "\n, currency = " + this.currency
			+ "\n, amount = " + this.amount
			+ "\n, remark = " + this.remark
			+ "\n, revisionNo = " + this.revisionNo
			+ "\n, createUser = " + this.createUser
			+ "\n, createDate = " + this.createDate
			+ "\n, updateUser = " + this.updateUser
			+ "\n, updateDate = " + this.updateDate
			+ "\n, status = " + this.status
			+ "\n, exchangeRate = " + this.exchangeRate
			+ "\n, deptCode = " + this.deptCode
			+ "\n, exFactoryDate = " + this.exFactoryDate
			+ "\n, shipmentDate = " + this.shipmentDate
			+ "\n, division = " + this.division
			+ "\n, forwarder = " + this.forwarder
			+ "\n, shipRoute = " + this.shipRoute
			+ "\n, divisionDesc = " + this.divisionDesc
			+ "\n, preparedBy = " + this.preparedBy
			+ "\n, genFromPi = " + this.genFromPi
			+ "\n, forwarderRef = " + this.forwarderRef
			+ "\n, isCustInv = " + this.isCustInv
			+ "\n, airFreight = " + this.airFreight + "}\n";

		return "SoHdrVo.toString() is:\n" + pkStr + colStr;
	}

	////////////////////////////////////////////////////////////////////////////////
	//Generated Accessors (get/set methods)
	////////////////////////////////////////////////////////////////////////////////

	public String getCompanyCode() {
		return this.companyCode;
	}

	public String getSoNo() {
		return this.soNo;
	}

	public CustomSqlDate getSoDate() {
		return this.soDate;
	}

	public String getCustCode() {
		return this.custCode;
	}

	public String getTelNoCountry() {
		return this.telNoCountry;
	}

	public String getTelNoCity() {
		return this.telNoCity;
	}

	public String getTelNo() {
		return this.telNo;
	}

	public String getProjectCode() {
		return this.projectCode;
	}

	public String getFaxNo() {
		return this.faxNo;
	}

	public String getCustPoNo() {
		return this.custPoNo;
	}

	public CustomSqlDate getCustDocDate() {
		return this.custDocDate;
	}

	public String getContact() {
		return this.contact;
	}

	public String getEmail() {
		return this.email;
	}

	public String getCountryOrigin() {
		return this.countryOrigin;
	}

	public String getAddress1() {
		return this.address1;
	}

	public String getAddress2() {
		return this.address2;
	}

	public String getAddress3() {
		return this.address3;
	}

	public String getAddress4() {
		return this.address4;
	}

	public String getPortLoading() {
		return this.portLoading;
	}

	public String getDestination() {
		return this.destination;
	}

	public String getTradeTerms() {
		return this.tradeTerms;
	}

	public String getPaymentTerms() {
		return this.paymentTerms;
	}

	public String getShipVia() {
		return this.shipVia;
	}

	public String getHandledBy() {
		return this.handledBy;
	}

	public String getCurrency() {
		return this.currency;
	}

	public CustomBigDecimal getAmount() {
		return this.amount;
	}

	public String getRemark() {
		return this.remark;
	}

	public CustomBigInteger getRevisionNo() {
		return this.revisionNo;
	}

	public String getCreateUser() {
		return this.createUser;
	}

	public Timestamp getCreateDate() {
		return this.createDate;
	}

	public String getUpdateUser() {
		return this.updateUser;
	}

	public Timestamp getUpdateDate() {
		return this.updateDate;
	}

	public String getStatus() {
		return this.status;
	}

	public CustomBigDecimal getExchangeRate() {
		return this.exchangeRate;
	}

	public String getDeptCode() {
		return this.deptCode;
	}

	public CustomSqlDate getExFactoryDate() {
		return this.exFactoryDate;
	}

	public CustomSqlDate getShipmentDate() {
		return this.shipmentDate;
	}

	public String getDivision() {
		return this.division;
	}

	public String getForwarder() {
		return this.forwarder;
	}

	public String getShipRoute() {
		return this.shipRoute;
	}

	public String getDivisionDesc() {
		return this.divisionDesc;
	}

	public String getPreparedBy() {
		return this.preparedBy;
	}

	public String getGenFromPi() {
		return this.genFromPi;
	}

	public String getForwarderRef() {
		return this.forwarderRef;
	}

	public String getIsCustInv() {
		return this.isCustInv;
	}

	public String getAirFreight() {
		return this.airFreight;
	}

	public void setCompanyCode(String companyCode) {
		this.companyCode = companyCode;
	}

	public void setSoNo(String soNo) {
		this.soNo = soNo;
	}

	public void setSoDate(CustomSqlDate soDate) {
		this.soDate = soDate;
	}

	public void setCustCode(String custCode) {
		this.custCode = custCode;
	}

	public void setTelNoCountry(String telNoCountry) {
		this.telNoCountry = telNoCountry;
	}

	public void setTelNoCity(String telNoCity) {
		this.telNoCity = telNoCity;
	}

	public void setTelNo(String telNo) {
		this.telNo = telNo;
	}

	public void setProjectCode(String projectCode) {
		this.projectCode = projectCode;
	}

	public void setFaxNo(String faxNo) {
		this.faxNo = faxNo;
	}

	public void setCustPoNo(String custPoNo) {
		this.custPoNo = custPoNo;
	}

	public void setCustDocDate(CustomSqlDate custDocDate) {
		this.custDocDate = custDocDate;
	}

	public void setContact(String contact) {
		this.contact = contact;
	}

	public void setEmail(String email) {
		this.email = email;
	}

	public void setCountryOrigin(String countryOrigin) {
		this.countryOrigin = countryOrigin;
	}

	public void setAddress1(String address1) {
		this.address1 = address1;
	}

	public void setAddress2(String address2) {
		this.address2 = address2;
	}

	public void setAddress3(String address3) {
		this.address3 = address3;
	}

	public void setAddress4(String address4) {
		this.address4 = address4;
	}

	public void setPortLoading(String portLoading) {
		this.portLoading = portLoading;
	}

	public void setDestination(String destination) {
		this.destination = destination;
	}

	public void setTradeTerms(String tradeTerms) {
		this.tradeTerms = tradeTerms;
	}

	public void setPaymentTerms(String paymentTerms) {
		this.paymentTerms = paymentTerms;
	}

	public void setShipVia(String shipVia) {
		this.shipVia = shipVia;
	}

	public void setHandledBy(String handledBy) {
		this.handledBy = handledBy;
	}

	public void setCurrency(String currency) {
		this.currency = currency;
	}

	public void setAmount(CustomBigDecimal amount) {
		this.amount = amount;
	}

	public void setRemark(String remark) {
		this.remark = remark;
	}

	public void setRevisionNo(CustomBigInteger revisionNo) {
		this.revisionNo = revisionNo;
	}

	public void setCreateUser(String createUser) {
		this.createUser = createUser;
	}

	public void setCreateDate(Timestamp createDate) {
		this.createDate = createDate;
	}

	public void setUpdateUser(String updateUser) {
		this.updateUser = updateUser;
	}

	public void setUpdateDate(Timestamp updateDate) {
		this.updateDate = updateDate;
	}

	public void setStatus(String status) {
		this.status = status;
	}

	public void setExchangeRate(CustomBigDecimal exchangeRate) {
		this.exchangeRate = exchangeRate;
	}

	public void setDeptCode(String deptCode) {
		this.deptCode = deptCode;
	}

	public void setExFactoryDate(CustomSqlDate exFactoryDate) {
		this.exFactoryDate = exFactoryDate;
	}

	public void setShipmentDate(CustomSqlDate shipmentDate) {
		this.shipmentDate = shipmentDate;
	}

	public void setDivision(String division) {
		this.division = division;
	}

	public void setForwarder(String forwarder) {
		this.forwarder = forwarder;
	}

	public void setShipRoute(String shipRoute) {
		this.shipRoute = shipRoute;
	}

	public void setDivisionDesc(String divisionDesc) {
		this.divisionDesc = divisionDesc;
	}

	public void setPreparedBy(String preparedBy) {
		this.preparedBy = preparedBy;
	}

	public void setGenFromPi(String genFromPi) {
		this.genFromPi = genFromPi;
	}

	public void setForwarderRef(String forwarderRef) {
		this.forwarderRef = forwarderRef;
	}

	public void setIsCustInv(String isCustInv) {
		this.isCustInv = isCustInv;
	}

	public void setAirFreight(String airFreight) {
		this.airFreight = airFreight;
	}

	////////////////////////////////////////////////////////////////////////////////
	//Other Accessors (get/set methods)
	////////////////////////////////////////////////////////////////////////////////


}